package cn.stylefeng.guns.modular.fi.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.fi.entity.FiHaTempCarAppStand;
import cn.stylefeng.guns.modular.fi.model.params.FiHaTempCarAppStandParam;
import cn.stylefeng.guns.modular.fi.model.params.FiTempCarAppStandParam;
import cn.stylefeng.guns.modular.fi.model.result.FiHaTempCarAppStandResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 临时车超额审批标准 服务类
 * </p>
 *
 * @author wp
 * @since 2025-03-10
 */
public interface FiHaTempCarAppStandService extends IService<FiHaTempCarAppStand> {

    /**
     * 新增
     *
     * @author wp
     * @Date 2025-03-10
     */
    void add(FiHaTempCarAppStandParam param);

    /**
     * 删除
     *
     * @author wp
     * @Date 2025-03-10
     */
    void delete(FiHaTempCarAppStandParam param);

    /**
     * 更新
     *
     * @author wp
     * @Date 2025-03-10
     */
    void update(FiHaTempCarAppStandParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author wp
     * @Date 2025-03-10
     */
    FiHaTempCarAppStandResult findBySpec(FiHaTempCarAppStandParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author wp
     * @Date 2025-03-10
     */
    List<FiHaTempCarAppStandResult> findListBySpec(FiHaTempCarAppStandParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author wp
     * @Date 2025-03-10
     */
     LayuiPageInfo findPageBySpec(FiHaTempCarAppStandParam param,String condition);

    int isRangeExist(FiHaTempCarAppStandParam build);

    LayuiPageInfo findApproveListPageBySpec(FiHaTempCarAppStandParam fiHaTempCarAppStandParam, String condition);
}
